Module implementing the MicroPython diagram widget based on QtGraphs.
| None |
| MicroPythonGraphWidget | Class implementing the MicroPython diagram widget based on QtGraphs. |
| MicroPythonLineGraphWidget | Class implementing a widget embedding the line graph object. |
| MicroPythonLineGraphWidgetItem | Class implementing an object embedding the QML GraphsView. |
| None |
Class implementing the MicroPython diagram widget based on QtGraphs.
| None |
| None |
| MicroPythonGraphWidget | Constructor |
| __addData | Private method to add a tuple of values to the graph. |
| __eraseData | Private slot to erase the graph and the stored raw data. |
| hasData | Public method to check, if the chart contains some valid data. |
| isDirty | Public method to check, if the chart contains unsaved data. |
| on_saveButton_clicked | Private slot to save the raw data to a CSV file. |
| preferencesChanged | Public slot to apply changed preferences. |
| processData | Public slot to process the raw data. |
| saveData | Public method to save the dialog's raw data. |
| shutdown | Public method to perform some shutdown actions. |
| None |
Constructor
Private method to add a tuple of values to the graph.
Private slot to erase the graph and the stored raw data.
Public method to check, if the chart contains some valid data.
Public method to check, if the chart contains unsaved data.
Private slot to save the raw data to a CSV file.
Public slot to apply changed preferences.
Public slot to process the raw data.
It takes raw bytes, checks the data for a valid tuple of ints or floats and adds the data to the graph. If the the length of the bytes data is greater than 1024 then a dataFlood signal is emitted to ensure eric can take action to remain responsive.
Public method to save the dialog's raw data.
Public method to perform some shutdown actions.
Class implementing a widget embedding the line graph object.
| None |
| None |
| MicroPythonLineGraphWidget | Constructor |
| shutdown | Public method to perform some shutdown actions. |
| widgetItem | Public method to get a reference to the graph view interface item. |
| None |
Constructor
Public method to perform some shutdown actions.
Public method to get a reference to the graph view interface item.
Class implementing an object embedding the QML GraphsView.
| QmlPropertyName |
| QmlSource |
| graphsTheme |
| lineSeries |
| xAxis |
| yAxis |
| None |
| MicroPythonLineGraphWidgetItem | Constructor |
| __adjustLineSeriesLength | Private method to adjust the line series to the maximum number of points set via the top level widget. |
| __updateAxis | Private method to adjust the axis ranges to the line values. |
| addData | Public method to add a tuple of values to the graph. |
| clear | Public slot to clear the graph and reset it. |
| getGraphsTheme | Public method to get a reference to the graphs theme object. |
| getLineSeries | Public method to get the list of line series objects to be shown by the QML view. |
| getXAxis | Public method to get a reference to the x-axis object. |
| getYAxis | Public method to get a reference to the y-axis object. |
| preferencesChanged | Public slot handling a change of configuration entries. |
| setGridVisible | Public slot to set the grid visibility. |
| setMaxPointsCount | Public slot to handle a change of the maximum number of points to be shown. |
| setSubGridVisible | Public slot to set the sub-grid visibility. |
| setWidget | Public method to associate this QML object with a given QQuick widget. |
| None |
Constructor
Private method to adjust the line series to the maximum number of points set via the top level widget.
Private method to adjust the axis ranges to the line values.
Public method to add a tuple of values to the graph.
It ensures there are the required number of line series, adds the data to the line series and updates the range of the chart so the chart displays nicely.
Public slot to clear the graph and reset it.
Public method to get a reference to the graphs theme object.
Public method to get the list of line series objects to be shown by the QML view.
Public method to get a reference to the x-axis object.
Public method to get a reference to the y-axis object.
Public slot handling a change of configuration entries.
Public slot to set the grid visibility.
Public slot to handle a change of the maximum number of points to be shown.
Public slot to set the sub-grid visibility.
Public method to associate this QML object with a given QQuick widget.